<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>优家购房系统 - 房屋信息详情查看</title>
	<link rel="stylesheet" href="../../css/main.css">
	<link rel="stylesheet" href="../../lib/font-awesome/css/font-awesome.css">
</head>
<body style="background:url('image/bg5.jpg');background-size:cover;">
<div class="box">
	<h3>房屋信息详情</h3>
		<table class="form-table">
			<tr>
				<td class="label">地区</td>
				<td class="detail">
					${house.h_area }
				</td>
			</tr>
			<tr>
				<td class="label">小区</td>
				<td colspan="3" class="detail">
					${house.h_estate }
				</td>
			</tr>
			<tr>
				<td class="label">单元号</td>
				<td colspan="3" class="detail">
					${house.h_unitNumber }
				</td>
			</tr>
			<tr>
				<td class="label">楼层</td>
				<td colspan="3" class="detail">
					${house.h_floor }
				</td>
			</tr>
			<tr>
				<td class="label">房间号</td>
				<td colspan="3" class="detail">
					${house.h_roomNo }
				</td>
			</tr>
			<tr>
				<td class="label">面积(平米)</td>
				<td colspan="3" class="detail">
					${house.h_acreage }
				</td>
			</tr>
			<tr>
				<td class="label">朝向</td>
				<td colspan="3" class="detail">
					${house.h_direction }
				</td>
			</tr>
			<tr>
				<td class="label">装修</td>
				<td colspan="3" class="detail">
					${house.h_fitment }
				</td>
			</tr>
			<tr>
				<td class="label">是否双气</td>
				<c:if test="${house.h_isDoubleAir}==0">
					<td colspan="3" class="detail">
					天然气
					</td>
				</c:if>
				<c:if test="${house.h_isDoubleAir}==1">
					<td colspan="3" class="detail">
					暖气
					</td>
				</c:if>
				<c:if test="${house.h_isDoubleAir}==2">
					<td colspan="3" class="detail">
					天然气+暖气
					</td>
				</c:if>
			</tr>
			<tr>
				<td class="label">限住人数</td>
				<td colspan="3" class="detail">
					${house.h_limit }
				</td>
			</tr>
			<tr>
				<td class="label">配套设施</td>
				<td colspan="3" class="detail">
					${house.h_facility }
				</td>
			</tr>
			<tr>
				<td class="label">出租价格(元/月)</td>
				<td colspan="3" class="detail">
					${house.h_price }
				</td>
			</tr>
			<tr>
				<td class="label">出租状态</td>
				<c:if test="${house.h_status==0 }">
				<td colspan="3" class="detail">停止出租</td>
				</c:if>
				<c:if test="${house.h_status==1 }">
				<td colspan="3" class="detail">已出租</td>
				</c:if>
				<c:if test="${house.h_status==2 }">
				<td colspan="3" class="detail">未出租</td>
				</c:if>
			</tr>
			<tr>
				<td class="label">房屋图片</td>
				<td colspan="3" class="detail">
					<img src="image/${house.h_img }" width="300px" height="200px">
				</td>
			</tr>
			<tr>
				<td class="label">完整地址信息</td>
				<td colspan="3" class="detail">
					${house.h_address }
				</td>
			</tr>
			<tr>
				<td class="label">添加时间</td>
				<td colspan="3" class="detail">
					${house.h_addtime }
				</td>
			</tr>
			<tr>
				<td class="label">更新时间</td>
				<td colspan="3" class="detail">
					${house.h_updateTime }
				</td>
			</tr>

		</table>
		<div class="buttons">
			<a class="btn btn-default" href="javascript:history.go(-1)">返回</a>
		</div>
</div>
</body>
</html>